package com.xquant.marketdata.marketdata.domain;

import com.xquant.common.core.annotation.Excel;
import com.xquant.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

public class CmdtPriceDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "日期")
    private String begDate;

    private String endDate;
    @Excel(name = "代码")
    private String iCode;

    @Excel(name = "名称")
    private String sName;

    @Excel(name = "资产类型",dictType = "A_TYPE")
    private String aType;

    @Excel(name = "市场类型",dictType = "M_TYPE")
    private String mType;

    private String pType;
    @Excel(name = "开盘价",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal dpOpen;

    @Excel(name = "收盘价",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal dpClose;

    @Excel(name = "最高价",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal dpHigh;

    @Excel(name = "最低价",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal dpLow;

    private BigDecimal dpAvg;

    private Double tradePrice;

    public Double getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(Double tradePrice) {
        this.tradePrice = tradePrice;
    }

    private String currency;
    private String num;

    public String getBegDate() {
        return begDate;
    }

    public void setBegDate(String begDate) {
        this.begDate = begDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getiCode() {
        return iCode;
    }

    public void setiCode(String iCode) {
        this.iCode = iCode;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getaType() {
        return aType;
    }

    public void setaType(String aType) {
        this.aType = aType;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType;
    }

    public BigDecimal getDpOpen() {
        return dpOpen;
    }

    public void setDpOpen(BigDecimal dpOpen) {
        this.dpOpen = dpOpen;
    }

    public BigDecimal getDpClose() {
        return dpClose;
    }

    public void setDpClose(BigDecimal dpClose) {
        this.dpClose = dpClose;
    }

    public BigDecimal getDpHigh() {
        return dpHigh;
    }

    public void setDpHigh(BigDecimal dpHigh) {
        this.dpHigh = dpHigh;
    }

    public BigDecimal getDpLow() {
        return dpLow;
    }

    public void setDpLow(BigDecimal dpLow) {
        this.dpLow = dpLow;
    }

    public BigDecimal getDpAvg() {
        return dpAvg;
    }

    public void setDpAvg(BigDecimal dpAvg) {
        this.dpAvg = dpAvg;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }
}
